package de.fhd.pms.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * The java bean class for {@link Station} objects It specifies:
 * <ul>
 * <li>DB-Table</li>
 * <li>get-/set-methods</li>
 * 
 * </ul>
 * 
 * @author Josef Fischer
 * @author Alexander Neetzel
 * @author Philipp Six
 */
@Entity
@Table(name = "tbl_station")
public class Station {
	@Id
	@GeneratedValue
	@Column(name = "pk_station")
	private Integer id;
	private Date created;
	@Column(name = "strasse")
	private String strasse;
	@Column(name = "plz")
	private String plz;
	@Column(name = "ort")
	private String ort;
	@Column(name = "google")
	private String google;

	public Integer getId() {
		return id;
	}

	public void station() {
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public String getStrasse() {
		return strasse;
	}

	public void setStrasse(String strasse) {
		this.strasse = strasse;
	}

	public String getPlz() {
		return plz;
	}

	public void setPlz(String plz) {
		this.plz = plz;
	}

	public String getOrt() {
		return ort;
	}

	public void setOrt(String ort) {
		this.ort = ort;
	}

	public String getGoogle() {
		return google;
	}

	public void setGoogle(String google) {
		this.google = google;
	}
}
